package com.ruoyi.honor.domain;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 荣誉奖励人员关联对象 sys_honor_member
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_honor_member")
public class SysHonorMember extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 荣誉ID */
    @Excel(name = "荣誉ID")
    private Long honorId;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long membersId;

    /** 会员姓名 */
    private String membersName;

    /** 会员工号 */
    private Long membersNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHonorId(Long honorId) 
    {
        this.honorId = honorId;
    }

    public Long getHonorId() 
    {
        return honorId;
    }

    public void setMembersId(Long membersId) 
    {
        this.membersId = membersId;
    }

    public Long getMembersId() 
    {
        return membersId;
    }

    public String getMembersName() 
    {
        return membersName;
    }

    public void setMembersName(String membersName) 
    {
        this.membersName = membersName;
    }

    public Long getMembersNum() 
    {
        return membersNum;
    }

    public void setMembersNum(Long membersNum) 
    {
        this.membersNum = membersNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("honorId", getHonorId())
            .append("membersId", getMembersId())
            .toString();
    }
}
